{extend name="common@base/common" /}
{block name="style"}
  <link href="__CSS__/main.min.css" type="text/css" rel="stylesheet">
{/block}
{block name="body"}

<div id="main-container" class="container">
	<div class="col-md-2">
		<!--用户中心导航-->
		{include file="muushop/user/_nav"/}
	</div>

	<div class="col-md-10 user_common_section">

	<div class="common_box main_title">
		<h3>评价订单</h3>
	</div>

	<div class="comment_box margin-top-10 clearfix">
	    {volist name="order.products" id="product"}
        <div class="common_box margin-bottom-10">
          <div class="goods-box clearfix">
              <div class="goods-item">
                  <div class="p-img">
                      <a href="{:url('index/product',array('id'=>$product['product_id']))}" target="_blank">
                      <img src="{$product.main_img|getThumbImageById=60,60}" title="{$product.title}" width="60" height="60">
                      </a>
                  </div>
                  <div class="p-msg">
                      <div class="p-name">
                      	<a href="{:url('Index/product',array('id'=>$product['product_id']))}" class="a-link" target="_blank" title="{$product.title}">
                      		{$product.title}
                      	</a>
                      	{notempty name="product.sku"}
                      	<div class="sku_box">
                      		{foreach name="product.sku" item="sku" }
                            <span class="sku_li_span">{$sku}</span>  
                          {/foreach}
                      	</div>
                      	{/notempty}
                      </div>

                      <div class="goods-number">
                          x{$product.quantity}
                      </div>
                  </div>
              </div>
      	  </div>
          {notempty name="$evaluateInstall"}
          
          {:hook('evaluateSubmit',[
            'app'=>'muushop',
            'model'=>'product',
            'row_id'=>$product['product_id'],
            'order_no'=>$order['order_no'],
            'param'=> $product['sku_id']
          ])}
          {else /}
              <p>需正确配置评价嗮图插件</p>
          {/notempty}
      </div>
  {/volist}
  </div>
	</div>
</div>
{/block}
{block name="script"}
<script src="__JS__/comment.min.js"></script>
{/block}